package com.jie.langlangmall.dao;

import com.jie.langlangmall.dto.OmsOrderDeliveryParam;
import com.jie.langlangmall.dto.OmsOrderDetail;
import com.jie.langlangmall.dto.OmsOrderQueryParam;
import com.jie.langlangmall.model.OmsOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/28
 * @Email 3217998214@qq.com
 * @Description 订单管理
 */
public interface OmsOrderDao {

    /**
     * 条件查润
     * @param queryParam
     * @return
     */
    List<OmsOrder> getList(@Param("queryParam") OmsOrderQueryParam queryParam);

    /**
     * 批量发货
     * @param deliveryParamList
     */
    void delivery(@Param("list") List<OmsOrderDeliveryParam> deliveryParamList);

    /**
     * 订单详情
     * @param id
     * @return
     */
    OmsOrderDetail getDetail(@Param("id") Long id);

}
